<c:catch var="renderException">    
    <jsp:useBean id="pageHandler" class="org.jtb.flickrportlet.PageHandler" scope="session"/>
    <jsp:useBean id="authHandler" class="org.jtb.flickrportlet.AuthHandler" scope="session"/>           
    <jsp:useBean id="prefsBean" class="org.jtb.flickrportlet.PrefsBean" scope="request"/>           
    <jsp:useBean id="prefsHandler" class="org.jtb.flickrportlet.PrefsHandler" scope="request"/>    
    <jsp:setProperty name="prefsHandler" property="request" value="<%=renderRequest%>"/>  
    <jsp:setProperty name="prefsHandler" property="prefsBean" value="<%=prefsBean%>"/>  
    <jsp:useBean id="myBean" class="org.jtb.flickrportlet.MyBean" scope="session"/>
    <jsp:useBean id="myHandler" class="org.jtb.flickrportlet.MyHandler" scope="session"/>
    <jsp:setProperty name="myHandler" property="prefsBean" value="<%=prefsBean%>"/>    
    <jsp:setProperty name="myHandler" property="myBean" value="<%=myBean%>"/>    
    <jsp:useBean id="contactsBean" class="org.jtb.flickrportlet.ContactsBean" scope="session"/>
    <jsp:useBean id="contactsHandler" class="org.jtb.flickrportlet.ContactsHandler" scope="session"/>
    <jsp:setProperty name="contactsHandler" property="prefsBean" value="<%=prefsBean%>"/>    
    <jsp:setProperty name="contactsHandler" property="authHandler" value="<%=authHandler%>"/>    
    <jsp:setProperty name="contactsHandler" property="contactsBean" value="<%=contactsBean%>"/>    
    <jsp:useBean id="photosBean" class="org.jtb.flickrportlet.PhotosBean" scope="session"/>
    <jsp:useBean id="photosHandler" class="org.jtb.flickrportlet.PhotosHandler" scope="session"/>
    <jsp:setProperty name="photosHandler" property="pageHandler" value="<%=pageHandler%>"/>    
    <jsp:setProperty name="photosHandler" property="authHandler" value="<%=authHandler%>"/>    
    <jsp:setProperty name="photosHandler" property="prefsBean" value="<%=prefsBean%>"/>    
    <jsp:setProperty name="photosHandler" property="contactsBean" value="<%=contactsBean%>"/>    
    <jsp:setProperty name="photosHandler" property="photosBean" value="<%=photosBean%>"/>    
</c:catch>

<%@ include file="renderException.jsp" %>